import business

def main():
    while True:
        print('-------欢迎来到----------------')
        print('1查看2修改3退出')
        choice = int(input('请输入你的选择：'))
        if choice == 1:
            business.show_data()
        elif choice == 2:
            business.write_data()
        elif choice == 3:
            print('正在退出')
            break
        else:
            print('输入有误')


if __name__ == '__main__':
    main()